/**
 * BOM表 api 封装
 *
 * @Author:    AKITA
 * @Date:      2025-08-15 10:54:43
 * @Copyright  AKITA
 */
import {postRequest, getRequest, getDownload, postDownload} from '/@/lib/axios';

export const tmsordApi = {

    /**
     * 分页查询  @author  AKITA
     */
    queryPage : (param) => {
        return postRequest('/tmsord/queryPage', param);
    },

    /**
     * 增加  @author  AKITA
     */
    add: (param) => {
        return postRequest('/tmsord/add', param);
    },

    /**
     * 修改  @author  AKITA
     */
    update: (param) => {
        return postRequest('/tmsord/update', param);
    },


    /**
     * 删除  @author  AKITA
     */
    delete: (id) => {
        return getRequest(`/tmsord/delete/${id}`);
    },

    /**
     * 批量删除  @author  AKITA
     */
    batchDelete: (idList) => {
        return postRequest('/tmsord/batchDelete', idList);
    },

    export: (param) => {
        return postDownload('/tmsord/export', param)
    }



};
